import axios from '@/apis/axios/index.js'
const baseUrl = `/erp/goodSpu`


export function listTypeOptions(params) {
    return axios.request({
        url: `${baseUrl}/listTypeOptions`,
        method: 'post',
        data: params
    })
}

export function listPage(params) {
    return axios.request({
        url: `${baseUrl}/listPage`,
        method: 'post',
        data: params
    })
}
export function listOptionsPage(params) {
    return axios.request({
        url: `${baseUrl}/listOptionsPage`,
        method: 'post',
        data: params
    })
}

// 获取补全产品的信息
export function getGoodsInfoForBillDetailBySpuIds(params) {
    return axios.request({
        url: '/erp/billGoods/getGoodsInfoForBillDetailBySpuIds',
        method: 'post',
        data: params
    })
}
